-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: stabilize EIP-7702 #3427
feat: stabilize EIP-7702 #3427
Conversation
🦋 Changeset detectedLatest commit: 774d307 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
size-limit report 📦
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #3427 +/- ##
========================================
Coverage 99.66% 99.66%
========================================
Files 1002 998 -4
Lines 76849 76623 -226
Branches 3308 3305 -3
========================================
- Hits 76588 76363 -225
+ Misses 239 238 -1
Partials 22 22 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
769702e
to
a496ef1
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR stabilizes EIP-7702 by updating documentation examples, changing experimental exports to their stable counterparts, and officially replacing the sponsor parameter with executor.
- Updated code examples and documentation to reference stable exports from viem and viem/utils.
- Adjusted parameter naming from sponsor to executor and updated related utilities.
- Updated changesets to document removal of deprecated experimental exports.
Reviewed Changes
Copilot reviewed 90 out of 93 changed files in this pull request and generated no comments.
Show a summary per file
File | Description |
---|---|
.changeset/odd-parents-crash.md | Updated breaking change description for stable EIP-7702 exports. |
site/pages/docs/eip7702/sending-transactions.md | Revised examples showing construction of EIP-7702 transactions with updated API usage. |
site/pages/docs/eip7702/contract-writes.md | Updated examples for contract writes using updated EIP-7702 authorization logic. |
.changeset/mighty-maps-dress.md | Documented removal of deprecated ERC-6492 exports. |
.changeset/new-seas-wash.md | Documented removal of deprecated walletActionsErc7715 export. |
.changeset/clever-mice-laugh.md | Summarized stabilization of EIP-7702 with new actions and utility updates. |
site/pages/docs/eip7702/signAuthorization.md | Updated documentation for signAuthorization, switching from experimental to stable usage. |
.changeset/dirty-trees-pay.md | Documented removal of deprecated walletActionsEip5792 export. |
site/pages/docs/eip7702/recoverAuthorizationAddress.md | Updated import paths from experimental to stable utilities for recovering authorization addresses. |
site/pages/docs/eip7702/prepareAuthorization.md | Updated prepareAuthorization docs to reflect parameter name changes and new API paths. |
Various site/docs pages (signTransaction, sendTransaction, prepareTransactionRequest, simulateContract, writeContract) | Revised references to EIP-7702 docs and updated links from experimental to stable endpoints. |
site/pages/docs/accounts/local/signTransaction.md | Updated account method naming to reflect stabilized EIP-7702 API. |
site/pages/docs/eip7702/hashAuthorization.md | Updated imports for hashAuthorization from experimental to stable utilities. |
Files not reviewed (3)
- package.json: Language not supported
- pnpm-lock.yaml: Language not supported
- site/pages/docs/eip7702.mdx: Language not supported
Comments suppressed due to low confidence (1)
site/pages/docs/eip7702/signAuthorization.md:358
- Duplicate 'to' property detected in the transaction object literal. Remove one of the 'to' keys to avoid unintended behavior.
to: walletClient.account.address, // [!code ++]
No description provided.